﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucNoiDung.ascx.cs" Inherits="Admin_ucControl_ucNoi" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor"
    TagPrefix="cc1" %>
    

<style type="text/css">
    .th
    {
        color: Black;
    }
</style>
<h1>
    Thêm Sản Phẩm
</h1>
<br />
<div>
    <asp:HyperLink ID="hyp" runat="server" NavigateUrl="~/Admin/DanhSachSanPham.aspx"
        Font-Size="Medium">Quay lại</asp:HyperLink>
</div>
<br />
<asp:Panel ID="Panel1" runat="server" ForeColor="#FF3300">
    <table class="th">
        <tr>
            <td valign="top" style="width: 100%; float: left">
                <table style="width: 100%">
                   
                    <tr>
                        <th style="width: 100px">
                            Tiêu đề
                        </th>
                        <td>
                            <asp:TextBox ID="txtTitle" runat="server" CssClass="inp-form"></asp:TextBox>
                            &nbsp;<asp:RequiredFieldValidator ID="reqCatename" runat="server" ControlToValidate="txtTitle"
                                Text="*" Font-Bold="True" ForeColor="Red" ValidationGroup="save"></asp:RequiredFieldValidator></td>
                    </tr>
                    <tr>
                        <th>
                            Nhóm </th>
                        <td>
                            <asp:DropDownList ID="drType" runat="server">
                            </asp:DropDownList>
                        </td>
                    </tr>
                   
                    <tr>
                        <th>
                            Mô tả nội dung
                        </th>
                        <td>
                            <%--<cc1:Editor ID="txtDescription" runat="server" />--%>
                            <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" BasePath="~/fckeditor/" Width="700px"
                                            Height="300px">
                            </FCKeditorV2:FCKeditor>
                        </td>
                    </tr>
                   
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                            <asp:Button ID="btAdd" runat="server" Text="Save" OnClick="btAdd_Click" ValidationGroup="save"
                                Height="26px" />
                            <asp:Button ID="btnReset" runat="server" Text="Reset" 
                                onclick="btnReset_Click" />
                        </td>
                    </tr>
                </table>
            </td>
            
        </tr>
    </table>
</asp:Panel>
